package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Info {
	private int infoNo;
	private String infoAuthor;
	private String infoType;
	private String infoTitle;
	private String infoContent;
	
	@JSONField(format="yyyy/MM/dd")
	private Date publishTime;
	
	public Info() {
		super();
	}

	public Info(int infoNo, String infoAuthor, String infoType, String infoTitle, String infoContent,
			Date publishTime) {
		super();
		this.infoNo = infoNo;
		this.infoAuthor = infoAuthor;
		this.infoType = infoType;
		this.infoTitle = infoTitle;
		this.infoContent = infoContent;
		this.publishTime = publishTime;
	}

	public int getInfoNo() {
		return infoNo;
	}

	public void setInfoNo(int infoNo) {
		this.infoNo = infoNo;
	}

	public String getInfoAuthor() {
		return infoAuthor;
	}

	public void setInfoAuthor(String infoAuthor) {
		this.infoAuthor = infoAuthor;
	}

	public String getInfoType() {
		return infoType;
	}

	public void setInfoType(String infoType) {
		this.infoType = infoType;
	}

	public String getInfoTitle() {
		return infoTitle;
	}

	public void setInfoTitle(String infoTitle) {
		this.infoTitle = infoTitle;
	}

	public String getInfoContent() {
		return infoContent;
	}

	public void setInfoContent(String infoContent) {
		this.infoContent = infoContent;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	
	
	
}
